package com.xl.dao.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @TableName xl_question_answer
 */
@TableName(value = "xl_question_answer")
@Data
@Accessors(chain = true)
public class XlQuestionAnswer implements Serializable {
    /**
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer answerId;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 问卷id
     */
    private Integer questionId;

    /**
     * 表单id
     */
    private Integer rowId;

    /**
     * 表单标题
     */
    private String rowTitle;

    /**
     * 表单答案
     */
    private String rowValue;

    /**
     * 字段类型
     */
    private Integer rowType;

    /**
     * 表单行对应的排序
     */
    private Integer rowSortIndex;

    /**
     * 1必填2非必填
     */
    private Integer rowMustFlag;

    /**
     *
     */
    private Integer state;

    /**
     *
     */
    private LocalDateTime addTime;

    /**
     *
     */
    private String addUser;

    /**
     *
     */
    private LocalDateTime updTime;

    /**
     *
     */
    private String updUser;

}